package com.fzfnn.scrapbook.service;

import com.fzfnn.scrapbook.entity.Message;
import com.fzfnn.scrapbook.util.R;

public interface MessageService {
    void saveMessage(Message message);
    R getPrivateChatList(String token);

    R getHistoryMessages(String tokien, Long receiverId);

    R deleteChatHistory(String token, Long receiverId);
}